package com.link.base.tencent.corpwx.media.dao.mybatis.mapper;

import com.link.base.tencent.corpwx.media.model.CorpWxMedia;
import com.link.core.basic.dao.mapper.BasicMapper;


/**
* 素材管理
 *
* @author 李宗庭
* @date 2019/1/28
*/
public interface CorpWxMediaMapper extends BasicMapper<CorpWxMedia> {

    /**
     * 插入附件表
     *
     * @author 欧阳振强
     * @date 2020/01/05
     * @param record 素材对象
     */
    void attachmentInsert(CorpWxMedia record) throws Exception;

    /**
     *  查询附件表
     *
     * @author 欧阳振强
     * @date 2020/01/05
     * @param record 素材对象
     */
    CorpWxMedia queryAttachmentById(CorpWxMedia record) throws Exception;
}
